.class Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;
.super Ljava/lang/Object;
.source "PublishAppActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/activity/PublishAppActivity;->generatePictureView(Lcom/brixd/niceapp/community/model/PictureModel;I)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

.field final synthetic val$position:I


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/activity/PublishAppActivity;I)V
    .registers 3
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    .prologue
    .line 834
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    iput p2, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;->val$position:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 838
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->getActivity()Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$3100(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)Landroid/app/Activity;

    move-result-object v1

    const-string v2, "CommunityPublishAppClickChangeCover"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 840
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->getContext()Landroid/content/Context;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$3200(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 841
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "CurrentPos"

    iget v2, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;->val$position:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 842
    const-string v1, "Pictures"

    iget-object v2, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->mPictures:Ljava/util/ArrayList;
    invoke-static {v2}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$2800(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 843
    const-string v1, "IsSelectMode"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 844
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$19;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    const/16 v2, 0x14

    invoke-virtual {v1, v0, v2}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->startActivityForResult(Landroid/content/Intent;I)V

    .line 845
    return-void
.end method
